package com.magnificent.atlantis.client.scheduler.logger;

import java.util.Date;

/**
 * User: Babanin
 * Date: 09.08.2009
 * Time: 6:46:50
 */
public class LoggerEvent {
    private int id;
    private Date date;
    private String message;
    private EventType eventType;

    public LoggerEvent(int id, Date date, String message, EventType eventType) {
        this.id = id;
        this.date = date;
        this.message = message;
        this.eventType = eventType;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public EventType getEventType() {
        return eventType;
    }

    public void setEventType(EventType eventType) {
        this.eventType = eventType;
    }

    public static enum EventType {
        INFO, WARNING, ERROR
    }
}
